package com.yxsd.service;

import com.pandawork.core.exception.SSException;
import com.yxsd.common.entity.Admin;
import com.yxsd.common.service.BaseService;

/**
 * AdminService
 *
 * @author: zhangteng
 * @time: 2015/1/4 18:08
 */
public interface AdminService extends BaseService {

    public void add(Admin admin) throws SSException;

    public Admin login(Admin admin) throws SSException;

    public boolean modifyPwd(Integer adminId, String newPwd, String oldPwd) throws SSException;
}
